package com.key.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.security.Timestamp;

/**
 * @Author: li
 * @CreateTime: 2023-02-17  11:45
 */
@Data
@ApiModel("审批信息单")
//审批信息单
public class Approval {
    //id
    @ApiModelProperty(name = "id",notes = "主键",dataType = "int",required = true)
    private Integer id;
    //审批状态
    @ApiModelProperty(name = "state",notes = "审批状态",dataType = "String",required = true)
    private String state;
    //审批单号
    @ApiModelProperty(name = "approvalNo",notes = "审批单号",dataType = "String",required = true)
    private String approvalNo;
    //审批类型
    @ApiModelProperty(name = "applicationType",notes = "审批类型",dataType = "String",required = true)
    private String applicationType;
    //申请人
    @ApiModelProperty(name = "applicationPerson",notes = "申请人",dataType = "String",required = true)
    private String applicationPerson;
    //申请公司
    @ApiModelProperty(name = "applicationCompany",notes = "申请公司",dataType = "String",required = true)
    private String applicationCompany;
    //申请部门
    @ApiModelProperty(name = "applicationDepartment",notes = "申请部门",dataType = "String",required = true)
    private String applicationDepartment;
    //申请时间
    @ApiModelProperty(name = "applicationTime",notes = "申请时间",dataType = "Date",required = true)
   // @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
    private String applicationTime;
}
